import request from '../request'
import globalConfig from "../config";
import {praseStrEmpty} from '@/common/utils'

// vol list
export function volList(data) {
    return request({
        url: `${globalConfig.getAPIPath()}${globalConfig.app.volList}`,
        method: 'get',
        params: data
    })
}
export function detail(data) {
    return request({
        url: `${globalConfig.getAPIPath()}${globalConfig.app.volDetail}`,
        method: 'get',
        params: data
    })
}

export function movieList(data) {
    return request({
        url: `${globalConfig.getAPIPath()}${globalConfig.app.movieList}`,
        method: 'get',
        params: data
    })
}
export function movieDetail(data) {
    return request({
        url: `${globalConfig.getAPIPath()}${globalConfig.app.movieDetail}`,
        method: 'get',
        params: data
    })
}
// send msg
export function sendMsg(data) {
    return request({
        url: `${globalConfig.getAPIPath()}${globalConfig.app.sendMsg}`,
        method: 'post',
        data: data
    })
}


